#include <cstdio>
#include <algorithm>
#include <cstring>
using namespace std;
const int N=10050;
int n,k;
int a[N],pre[N];
int main(void){
    scanf("%d%d",&n,&k);
    for(int i=1;i<=n;i++){
        scanf("%d",&a[i]);
        pre[i]=pre[i-1]+a[i];
    }
    
    return 0;
}